<template>
    <view class="main">
        <wd-loadmore loading-text="加载中" finished-text="没有更多了" error-text="加载失败" :state="state" />
    </view>
</template>

<script setup>
const props = defineProps({
    state: {
        type: String,
        default: 'loading'
    },
})
</script>

<style lang="scss" scoped>
.main {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}
</style>